package com.fengwk.user.face.client.hystrix;

import org.springframework.stereotype.Component;

import com.fengwk.support.exception.BaseException;
import com.fengwk.user.face.client.LoginClient;
import com.fengwk.user.face.model.LoginSession;

@Component
public class LoginClientHystrix implements LoginClient {

	@Override
	public LoginSession getLoginSessionByChannelAndToken(String channel, String token) {
		throw new BaseException("获取登录会话失败");
	}

	@Override
	public LoginSession login(String channel, String identity, String certification) {
		throw new BaseException("登录异常");
	}

	@Override
	public boolean logout(String channel, String token) {
		throw new BaseException("登出异常");
	}

}
